package com.itboye.jinpuyiyuan.utils.sputil;

import android.os.Environment;

/**
 * 常量类
 * Created by wsh on 2016/11/28.
 */
public class Const {
    public static final String URL = "http://api.jp.8raw.com:8087/";//url

    //头像上传接口(需修改)
    public static final String IMAGE_URL = "http://api.ewelisten.com/index.php/file/upload?client_id=by565fa4facdb191";
    public static int time = 0;
    public static final String updaloadURL ="http://api.jp.8raw.com:8087/picture/curl_upload.html?client_id=by_android_test_client_id";

    //单列图片查看接口(需修改)

    public static final String IMAGE_HEAD = "http://api.ewelisten.com/index.php/picture/index?id=";

    //资讯图片查询
    public static final String ZX="http://api.jp.8raw.com:8087/picture/index?id=";
    /**
     * --------------------------- 请求接口公用参数------------------------
     */
    public static String APP_VERSION = "app_version";
    public static String APP_TYPE = "from";
    public static String ITBOYE = "itboye";

    public static String TIME = "time";
    public static String SIGN = "sign";
    public static String DATA = "data";
    public static String TYPE = "type";
    public static String ALG = "alg";
    public static String NOTIFY_ID = "notify_id";
    public static String API_VER = "api_ver";
    public static String ALG_VALUE = "md5_v2";
    public static final String CLIENT_ID = "by_android_test_client_id";
    public static final String CLIENT_SECERET = "byTestSecret654321";

    /**
     * sharedpreferences中上次登录用户名字段
     */
    public static final String UID = "uid";

    /**
     * s_id
     */
    public static final String S_ID = "s_id";

    /**
     * 登陆时 用户名
     */

    public static final String USERNAME = "username";
    /**
     * 登陆时 密码
     */
    public static final String LOGIN_PASSWORD = "login_password";

    /**
     * 在线状态
     */
    public static final String ONLINE_STATUS = "online_status";
    /**
     * 阿里百川 密码
     */
    public static final String PASSWORD = "password";
    /**
     * 手机号
     */
    public static final String MOBILE = "mobile";

    /**
     * 邮箱
     */
    public static final String EMAIL = "email";
    /**
     * 性别 0女 1男
     */
    public static final String SEX = "sex";

    /**
     * 昵称
     */
    public static final String NICK = "nickname";
    /**
     * 头像
     */
    public static final String HEAD = "head";
    /**
     * 真实姓名
     */
    public static final String RealName = "realName";

    /**
     * 实名认证
     */
    public  static final String IDENTIFY="identity_validate";
    /**
     * 认证信息
     */
    public static final String ISAUTH = "is_auth";
    /**
     * 是否已经登录
     */
    public static final String IS_LOGINED = "is_logined";


    /**
     * 身份信息
     */
    public static final String ROLER = "roles_doctor";

    /**
     * 在线状态
     */
    public static final String IS_ONLINE = "online_status";

    /**
     * 阿里百川账号
     */
    public static final String ALIBAICHUAN = "alibaichuan_id";


    /**
     * ------------------------- 请求接口公用参数---------------------------
     */
    /**
     * 支付宝回调地址
     */
    public static final String zhifubao_huidiao = "http://api.jp.8raw.com:8087/alipay/notify";
    /**
     * 支付宝支付业务：入参app_id
     */
    public static final String APPID = "2016041201288573";
    /**
     * 支付宝私钥
     */
    public static final String RSA_PRIVATE = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC8XWo2RIFB4ga4mrciF9kuTeY9jQNJVP5azS1vqZmfXtgQjT5KzN58uBENWyQg9qzJtgKb2AcCkdaymEfLeFPsBZQ2M0mztktQu0xY9DVcB5assZHPp0xJn6nD3eGunIuzoQDS3UE8Z0DQwr5FlM/UG9psbC2b1Nby9WVDNRvO2wgRBUNmU9itA5dEbzLFBimWHI2lAj7PbIWI9wwXjuRy+RtNwv4U6UxF8Dam8jq5axGFuQttErldtGfaMxEE+Et3vMzCKWJjmUBFCMznu6aeXoDnGu+3okIEbZ+a0s5ElvSGs8Cau2g1ZBz6u0NHOomOikiUsfNrJTijeinPTkLNAgMBAAECggEACnnzl1MWEVD96LSKLPZAmQeyH4hBP4nfn7M7rLM1HR0MTVdduJFOaodeQ2znRIITuCBMYtiQAz+TPlmj3JgzqrPgu2b82WbxJ2tTYrsqYJT3d2Fk57S5VHrx2Tf0/l4skvAIeLHfl/lyLGo4ZOxS5swpyM/3dWxQDDFD0YoZotaJPv9GhufVkYUl8ctCzhkDYcSKg1kao5+llSMxV840CZWJjj7nk0jM2eXJzp2QS+OrrSaktLLQ7GQ+xVlBvOik74v5wDiNFmAqCers/XD2Co/ic5FTtiiJbHoQSDtlFSBlePMgdhHkt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2Th3RdmgkuIBFY4yb3m6rD/9S5KGoW7YErzAf7xl76bkhWBXnQvZXNhxxCe+SoW0Yop0aG+ECgYEA+MLDo3rEqQoAT32l"+
//            "TotUDYVy9XF5MfGVB/za2X2tReIxyo7LBqDFZw6y6u/50oaYyQd8UyMYMxlAVgH7" +
//            "GOQiAer+WenA7C3epUWRMGij32lgNu0nnlyw4Z+uy/fb+WyAyB9Edo+nDAXoSrWS" +
//            "vfpE/Nr67JNq93paw5oxtJg2s8cCgYEA1g2G2w9nh8FnxmvS4XKp+mX/7u6zlk4a" +
//            "4n59FEab3zHsYzWV1x0pcpUumdFe8f+nKPTwvmTNUdf1HYrums9VeieffuebpD03" +
//            "I2Qe6DlecAq2YYOuY6LH+iJ0BB0cjcN8JSUF2/0txQ+G/gbXLRGkH8i4Qp4UDx1t" +
//            "6Y3DVHHgElECgYEAyPzcAv8TXByniZJT+LUb8VzMOEE5kb/GENEcpbMkR51ta2KZ" +
//            "6T4GoLDAoI/KAm4bjflNWwK077xMPfGVxlO0omYSoeT6qhiZlmEx4LH7DWxff6F3" +
//            "bD0p8PIK0ePuSIWBO6//qeeBKXawa4RvDq3iBYaMTI8DUvb51KaF2ItPT0sCgYBc" +
//            "E1+CFaNEO0bHjJQe1HMXug6Ymed4bUqVSTHGqgTcwp3boy48ZVfx6QgttGlyEbW3" +
//            "IX35eGT1or7WoW+3+h3buPWb4kcKJCb2u1esLxlXetQvKDS4uUnqaC2do2Qn+wII" +
//            "/F8D3Wl1zhMUbJ7czSzbWz0fst4QDmm8QHXYek+XsQKBgQD3Zlwmfp+BKuxRJxmg" +
//            "EjSutWyJCffOiP1pCAocolMzOT2Tf2Rm3vw62CwXymRoUVDD7HY1vvE4I6lq/9S+" +
//            "J3SMdBI2X49+NwkkZYAhavU7P4oeEqO2xMtWAzCLkLiYtDcXYVkWFkIsS5Pmzsx+"+
//            "KGmL6Nz30TemuZnUmof1tZoveA==";
    /**
     * 友盟的别名
     */
    public static final String UMENG_ALIAS = "jinpuyiyuan";

    /**
     * 友盟的devicetoken
     */
    public static final String UMENG_DEVICE = "device_token";
    /**
     * 微信的app_id
     */
    public static final String APP_ID_WX = "wx49cccd968b96ff87";
//    public static final String APP_ID_WX = "wx5269eef08886e3d5"; //测试

    public static final String APP_SECRET="27e560a0bd6d4616c81ba9a1f4ba68db";
    /**
     * QQ的app_id
     */
    public static final String APP_ID_QQ = "2580340738";


    //集成 IMKit
    public final static String STORE_PATH = Environment
            .getExternalStorageDirectory().getAbsolutePath()
            + "/openim/images/";

 //金普
    /**
     * openIM的key
     * ceshi 23015524
     * 24734772
     */
    public static final String OPEN_APPKEY = "24734772";

    public static final String Open_APPSECRET="b3b7793a1dfa15b3491545eb7bf34405";

    public static final String DoctorImg="http://avatar.jp.8raw.com:8087?uid=";

}
